package com.ctrip.ec.api.mobile.common;

import java.util.List;

/**
 * Created by jiangzy on 2018/7/17.
 */
public final class StrUtil {

    public static String join(String sep,List<Long> ids){
        StringBuilder sb = new StringBuilder();
        for(int i=0;i<ids.size();i++){
            if(i==0){
                sb.append(ids.get(i).toString());
            }
            else{
                sb.append(sep+ids.get(i));
            }
        }
        return sb.toString();
    }

}
